export const monthEnList = {
    0: 'Jan',
    1: 'Feb',
    2: 'Mar',
    3: 'Apr',
    4: 'May',
    5: 'Jun',
    6: 'Jul',
    7: 'Aug',
    8: 'Sep',
    9: 'Oct',
    10: 'Nov',
    11: 'Dec'
}

export function filterDuration(t) {
    let m = Math.floor(t / 60);
    let s = Math.floor(t % 60);
    m = m >= 10 ? m : '0' + m;
    s = s >= 10 ? s : '0' + s;

    return m +':'+ s;
}